<ui:composition xmlns="http://www.w3.org/1999/xhtml"
				xmlns:h="http://java.sun.com/jsf/html"
		      	xmlns:f="http://java.sun.com/jsf/core"
		      	xmlns:ui="http://java.sun.com/jsf/facelets"
		      	xmlns:p="http://primefaces.org/ui"> 
		
				<p:panel styleClass="width">
				<p:pieChart  id="sample" value="#{chartBean.pieModel}" legendPosition="w"
                title="Sample Pie Chart" style="width:400px;height:300px"  styleClass="center"/>
				</p:panel>
</ui:composition>